package com.ruoyi.project.simple.domain.vo;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.aspectj.lang.annotation.Excels;
import com.ruoyi.project.simple.domain.SplOrder;
import com.ruoyi.project.simple.domain.SplOrderDetail;
import com.ruoyi.project.simple.domain.SplOrderDetailReport;

/**
 * @ProjectName: ReportQuery
 * @Package: com.ruoyi.project.simple.domain.vo
 * @ClassName: SplOrderDetailVO
 * @Description: 样品报告详情
 * @Author: Zhujj
 * @CreateDate: 2020/01/14 14:15
 * @Version: 1.0
 */
public class SplOrderDetailVO extends SplOrderDetail {


    @Excels({
            @Excel(name = "客户姓名", targetAttr = "submitName", type = Excel.Type.EXPORT),
            @Excel(name = "联系方式", targetAttr = "submitPhone", type = Excel.Type.EXPORT)
    })
    private SplOrder order;

    @Excels({
            @Excel(name = "包装是否完好", targetAttr = "packingIntact", readConverterExp = "Y=是,N=否", type = Excel.Type.EXPORT),
            @Excel(name = "急性肝胰腺坏死病", targetAttr = "ahpnsEms", readConverterExp = "positive=阳性,weak=弱阳性,negative=阴性", type = Excel.Type.EXPORT),
            @Excel(name = "对虾白班浊病", targetAttr = "wsd", readConverterExp = "positive=阳性,weak=弱阳性,negative=阴性", type = Excel.Type.EXPORT),
            @Excel(name = "皮下及造血组织坏死病毒", targetAttr = "ihhnv", readConverterExp = "positive=阳性,weak=弱阳性,negative=阴性", type = Excel.Type.EXPORT),
            @Excel(name = "肛肠鲍冲", targetAttr = "ehp", readConverterExp = "positive=阳性,weak=弱阳性,negative=阴性", type = Excel.Type.EXPORT),
            @Excel(name = "虾血虹彩病毒(SHIV)", targetAttr = "shiv", readConverterExp = "positive=阳性,weak=弱阳性,negative=阴性", type = Excel.Type.EXPORT)
    })
    private SplOrderDetailReport report;


    public SplOrderDetailReport getReport() {
        return report;
    }

    public void setReport(SplOrderDetailReport report) {
        this.report = report;
    }

    public SplOrder getOrder() {
        return order;
    }

    public void setOrder(SplOrder order) {
        this.order = order;
    }
}
